#include "Motor_Task.h"
#include "cmsis_os.h"
#include "Motor.h"

void Motor_Task_Entry(void *argument)
{
	
	MotorInit(Motor_A);
	MotorInit(Motor_B);
	MotorInit(Motor_C);
	MotorInit(Motor_D);
	
	Motor_Enable();

  for(;;)
  {
		
		Update_All_Speed();
		MotorCtrl();
			
    osDelay(15);
  }
 
}

